<template>
  <div>
     <!-- 面包屑导航 -->
    <el-breadcrumb separator-class="el-icon-arrow-right">
      <el-breadcrumb-item :to="{ path: '/home' }">首页</el-breadcrumb-item>
      <el-breadcrumb-item>数据统计</el-breadcrumb-item>
      <el-breadcrumb-item>数据报表</el-breadcrumb-item>
    </el-breadcrumb>
    <!-- 卡片区域 -->
    <el-card>
      <div class="block">
        <el-carousel height="450px">
          <el-carousel-item v-for="item in list" :key="item.id">
            <img :src="require('../../assets/img/'+item.idView)" class="image">
          </el-carousel-item>
        </el-carousel>
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  data () {
    return {
      list: [
        { id: 0, idView: 'one.jpg' },
        { id: 1, idView: 'two.jpg' },
        { id: 2, idView: 'three.jpg' },
        { id: 3, idView: 'four.jpg' },
        { id: 4, idView: 'five.jpg' }
      ]
    }
  }
}
</script>
<style lang="less" scoped>
.el-carousel__item {
  img {
    width:100%;
    height:100%;
  }
}
</style>
